
(*
/* -------------------------------------------------------------------- */
/*                      Wrappers around ei functions                    */
/* -------------------------------------------------------------------- */
*)
(*
/*
 * Undocumented before R9C, included for compatibility with old code
 */
*)
function erl_gethostbyname(const char *name): hostent_p;
function erl_gethostbyaddr(const char *addr, int len, int type): hostent_p;
function erl_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop): hostent_p;
function erl_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop): hostent_p;

(*
/*
 * Undocumented, included for compatibility with old code
 */
*)
procedure erl_init_resolve(void);
function erl_distversion(int fd): int;
function erl_epmd_connect(struct in_addr *inaddr): int;
function erl_epmd_port(struct in_addr *inaddr, const char *alive, int *dist): int;

